<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>Mine Sweeper Clone:  File sorgente grid_data.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Mine Sweeper Clone
   &#160;<span id="projectnumber">0.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generato da Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Cerca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pagina&#160;Principale</span></a></li>
      <li><a href="pages.html"><span>Pagine&#160;collegate</span></a></li>
      <li><a href="annotated.html"><span>Classi</span></a></li>
      <li class="current"><a href="files.html"><span>File</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Cerca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Elenco&#160;dei&#160;file</span></a></li>
      <li><a href="globals.html"><span>Elementi&#160;dei&#160;file</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tutto</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classi</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>File</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funzioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variabili</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Tipi enumerati (enum)</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Valori del tipo enumerato</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Definizioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pagine</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">grid_data.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="grid__data_8h.html">Vai alla documentazione di questo file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Author: Adrian Sassatelli</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// Copyright (c) 2014 Adrian Sassatelli</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;gtk/gtk.h&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">/*    DICHIARAZIONI                                                           */</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6ec">   31</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6ec" title="Enumeratore dello stato attuale di visualizzazione della casella. ">button_status_e</a> {</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6ecacd6668600e27b9f0aa8b04f741701609">   32</a></span>&#160;    <a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6ecacd6668600e27b9f0aa8b04f741701609" title="Normale (stato iniziale, non premuto) ">BS_NORMAL</a>,      </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6eca33c4c0747ae46eff3bc6662664057174">   33</a></span>&#160;    <a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6eca33c4c0747ae46eff3bc6662664057174" title="Contenente una mina. ">BS_CHECKED</a>,     </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6eca5728751a2b2236f7444d73c80a21c1ea">   34</a></span>&#160;    <a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6eca5728751a2b2236f7444d73c80a21c1ea" title="Probabilmente contenente una mina. ">BS_MAYBE</a>,       </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6eca8e265cf45b6a411dcecba4c646dc6b30">   35</a></span>&#160;    <a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6eca8e265cf45b6a411dcecba4c646dc6b30" title="Casella premuta. ">BS_PRESSED</a>      </div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;};</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7">   48</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7" title="Enumeratore del contenuto della casella. ">button_content_e</a> {</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7acbaf93b8e1586a0772d94e91371cc0af">   49</a></span>&#160;    <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7acbaf93b8e1586a0772d94e91371cc0af" title="Vuota con 0 mine vicino. ">BC_NEAR0</a>,   </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7ad8a0eb06acd570fde091656ca17ff3c8">   50</a></span>&#160;    <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7ad8a0eb06acd570fde091656ca17ff3c8" title="Vuota con 1 mine vicino. ">BC_NEAR1</a>,   </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7a13ab8e112d3e0b5740d46a1b304c55c7">   51</a></span>&#160;    <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7a13ab8e112d3e0b5740d46a1b304c55c7" title="Vuota con 2 mine vicino. ">BC_NEAR2</a>,   </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7af1f5a59d7cdaf96dfbd2539f28fa0b50">   52</a></span>&#160;    <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7af1f5a59d7cdaf96dfbd2539f28fa0b50" title="Vuota con 3 mine vicino. ">BC_NEAR3</a>,   </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7ac60efaedaa5dd208cf56ca5533e7ae8e">   53</a></span>&#160;    <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7ac60efaedaa5dd208cf56ca5533e7ae8e" title="Vuota con 4 mine vicino. ">BC_NEAR4</a>,   </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7a0f786525c06ac58de50f3f803c0c5595">   54</a></span>&#160;    <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7a0f786525c06ac58de50f3f803c0c5595" title="Vuota con 5 mine vicino. ">BC_NEAR5</a>,   </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7a70326b8dac95d6d637bc66b68df7b233">   55</a></span>&#160;    <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7a70326b8dac95d6d637bc66b68df7b233" title="Vuota con 6 mine vicino. ">BC_NEAR6</a>,   </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7aa65526cd1b4a0a54b58a4be112160238">   56</a></span>&#160;    <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7aa65526cd1b4a0a54b58a4be112160238" title="Vuota con 7 mine vicino. ">BC_NEAR7</a>,   </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7a6a08e1afb97f08cb6a8f6f753575aa7e">   57</a></span>&#160;    <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7a6a08e1afb97f08cb6a8f6f753575aa7e" title="Vuota con 8 mine vicino. ">BC_NEAR8</a>,   </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7a2ac2410b5605a17bb2a2a0b3bddd901f">   58</a></span>&#160;    <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7a2ac2410b5605a17bb2a2a0b3bddd901f" title="Presenza della mina. ">BC_MINE</a>     </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;};</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="grid__data_8h.html#af69955eeb7d7622a016e49dd7ebd90b3">   70</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="grid__data_8h.html#af69955eeb7d7622a016e49dd7ebd90b3" title="Enumeratore dello stato della partita. ">game_status_e</a> {</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="grid__data_8h.html#af69955eeb7d7622a016e49dd7ebd90b3aa10126e812019c70d6346d74e390e2c4">   71</a></span>&#160;    <a class="code" href="grid__data_8h.html#af69955eeb7d7622a016e49dd7ebd90b3aa10126e812019c70d6346d74e390e2c4" title="Stato partita normale. ">GS_NORMAL</a>,    </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="grid__data_8h.html#af69955eeb7d7622a016e49dd7ebd90b3a81a64b07396bf48b5905f55c9422c2a0">   72</a></span>&#160;    <a class="code" href="grid__data_8h.html#af69955eeb7d7622a016e49dd7ebd90b3a81a64b07396bf48b5905f55c9422c2a0" title="Stato partita persa. ">GS_LOST</a>,      </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="grid__data_8h.html#af69955eeb7d7622a016e49dd7ebd90b3aa27df3604b3122de50178dba05dc01e6">   73</a></span>&#160;    <a class="code" href="grid__data_8h.html#af69955eeb7d7622a016e49dd7ebd90b3aa27df3604b3122de50178dba05dc01e6" title="Stato partita vinta. ">GS_WIN</a>        </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;};</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="structbutton__s.html">   90</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structbutton__s.html" title="Struttura dei dati relativi alla casella. ">button_s</a> {</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="structbutton__s.html#a851fb0e80fe2eb4cdf67ae3bf9e657a2">   91</a></span>&#160;    GtkImage *<a class="code" href="structbutton__s.html#a851fb0e80fe2eb4cdf67ae3bf9e657a2" title="Puntatore al widget che gestisce la visualizzazione dello stato della casella. ">image</a>;            </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="structbutton__s.html#a62a17e1830704e8292ec069d8e51fa99">   93</a></span>&#160;    GtkWidget *<a class="code" href="structbutton__s.html#a62a17e1830704e8292ec069d8e51fa99" title="Puntatore al widget che gestisce gli eventi della casella. ">container</a>;       </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="structbutton__s.html#a7e4b2d441d54ae7c4104b8fa1ab93f9b">   96</a></span>&#160;    <a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6ec" title="Enumeratore dello stato attuale di visualizzazione della casella. ">button_status_e</a> <a class="code" href="structbutton__s.html#a7e4b2d441d54ae7c4104b8fa1ab93f9b" title="Stato della casella. ">status</a>;     </div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="structbutton__s.html#a06d17cc8f02c6a2e68ba0be98f6b6f56">   97</a></span>&#160;    <a class="code" href="grid__data_8h.html#a552c6c640d3ee513b86b9653497bacd7" title="Enumeratore del contenuto della casella. ">button_content_e</a> <a class="code" href="structbutton__s.html#a06d17cc8f02c6a2e68ba0be98f6b6f56" title="Contenuto della casella. ">content</a>;   </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="structbutton__s.html#a16159d7abc30e8d5a8fe186b46cdf4db">   99</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structbutton__s.html#a16159d7abc30e8d5a8fe186b46cdf4db" title="Colonna della casella all&#39;interno della griglia. ">coln</a>;                   </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="structbutton__s.html#a015dfbe6db4911de7de23583a33c6a52">  101</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structbutton__s.html#a015dfbe6db4911de7de23583a33c6a52" title="Riga della casella all&#39;interno della griglia. ">rown</a>;                   </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;};</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="structgrid__s.html">  111</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structgrid__s.html" title="Struttura principale contenente tutte le caselle e lo stato corrente della partita. ">grid_s</a> {</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="structgrid__s.html#a63fc628cc91e91beaa6d7ca09fcc5283">  112</a></span>&#160;    <a class="code" href="structbutton__s.html" title="Struttura dei dati relativi alla casella. ">button_s</a> *<a class="code" href="structgrid__s.html#a63fc628cc91e91beaa6d7ca09fcc5283" title="Caselle. ">buttons</a>;            </div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="structgrid__s.html#ae1518dd9c638497d7586ff9270423955">  114</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structgrid__s.html#ae1518dd9c638497d7586ff9270423955" title="Numero di colonne della griglia. ">cols</a>;                     </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="structgrid__s.html#a67e7637dbc622c8579dfef8fc75f2bbf">  115</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structgrid__s.html#a67e7637dbc622c8579dfef8fc75f2bbf" title="Numero di righe della griglia. ">rows</a>;                     </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="structgrid__s.html#a81ccbbd89064c276fb0908c199227dd3">  117</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structgrid__s.html#a81ccbbd89064c276fb0908c199227dd3" title="Numero di mine presenti. ">nummines</a>;                 </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="structgrid__s.html#a13f37501571b925d7f4a2f55543d301b">  118</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structgrid__s.html#a13f37501571b925d7f4a2f55543d301b" title="Numero di mine selezionate. ">selmines</a>;                 </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="structgrid__s.html#a3ff728c0f642fb035a4f57a6e3fc339f">  120</a></span>&#160;    <a class="code" href="grid__data_8h.html#af69955eeb7d7622a016e49dd7ebd90b3" title="Enumeratore dello stato della partita. ">game_status_e</a> <a class="code" href="structgrid__s.html#a3ff728c0f642fb035a4f57a6e3fc339f" title="La partita è stata persa. ">game_status</a>;    </div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;};</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">/*    BUTTON                                                                  */</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="keywordtype">void</span> <a class="code" href="grid__data_8cc.html#a0362bc0ff2e902ce93b98e81b18c4dcc" title="Cambia lo stato della singola casella. ">button_change_status</a> (<span class="keyword">const</span> <span class="keywordtype">int</span> acol, <span class="keyword">const</span> <span class="keywordtype">int</span> arow, <span class="keyword">const</span> <a class="code" href="grid__data_8h.html#ac60e672db340e106d182c145915ff6ec" title="Enumeratore dello stato attuale di visualizzazione della casella. ">button_status_e</a> astatus);</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="keywordtype">void</span> <a class="code" href="grid__data_8cc.html#a7551336e59c21e051318955f1db81979" title="Cambia stato alle caselle adiacenti a quella data. ">button_reveal</a> (<span class="keyword">const</span> <span class="keywordtype">int</span> acol, <span class="keyword">const</span> <span class="keywordtype">int</span> arow);</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="keywordtype">void</span> <a class="code" href="grid__data_8cc.html#a1ad9e693abaeb2d138bd4d8d2502dc83" title="Esegui procedure per tasto sinistro su casella. ">button_left_click</a> (<span class="keyword">const</span> <span class="keywordtype">int</span> acol, <span class="keyword">const</span> <span class="keywordtype">int</span> arow);</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="keywordtype">void</span> <a class="code" href="grid__data_8cc.html#a1b40bb00f792aa5ebe918302f6808b32" title="Esegui procedure per tasto destro su casella. ">button_right_click</a> (<span class="keyword">const</span> <span class="keywordtype">int</span> acol, <span class="keyword">const</span> <span class="keywordtype">int</span> arow);</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="comment">/*    GRID                                                                    */</span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;gboolean <a class="code" href="grid__data_8cc.html#acc8e05b76cfc95a294e99edc3c70ea14" title="Controlla se la partita è stata vinta. ">grid_check_win</a> ();</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="keywordtype">void</span> <a class="code" href="grid__data_8cc.html#afc3b32b4cf478022311a9bc1de46c757" title="Cancella la griglia principale. ">grid_delete</a> ();</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;gboolean <a class="code" href="grid__data_8cc.html#ad33782a4e6522be610af15ef1c66b9c5" title="Popola la griglia principale. ">grid_fill</a> (<span class="keyword">const</span> <span class="keywordtype">int</span> acols, <span class="keyword">const</span> <span class="keywordtype">int</span> arows, <span class="keyword">const</span> <span class="keywordtype">int</span> anummines, GtkWidget *agrid, GCallback ahandler);</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="keywordtype">void</span> <a class="code" href="grid__data_8cc.html#ad872dc5649d8c969779f17ba3fcb007d" title="Inizializza la griglia principale. ">grid_init</a> ();</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="keywordtype">void</span> <a class="code" href="grid__data_8cc.html#a8e76af3eee401e450c252044b0ef3d85" title="Partita persa, rivela le caselle delle mine. ">grid_lost_reveal</a> ();</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="keywordtype">void</span> <a class="code" href="grid__data_8cc.html#a2f03d03c2c9e62e6d354064f5a5433db" title="Partita vinta, rivela le caselle delle mine. ">grid_win_reveal</a> ();</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="comment">/* -------------------------------------------------------------------------- */</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generato Gio 3 Apr 2014 21:57:36 per Mine Sweeper Clone da &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
